//
//  UITabBar+Compact.m
//  NekaPrice
//
//  Created by yu on 2018/7/21.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import "UITabBar+Compact.h"

@implementation UITabBar (Compact)
- (UITraitCollection *)traitCollection {
    if (kIsiPad) {
        return [UITraitCollection traitCollectionWithVerticalSizeClass:UIUserInterfaceSizeClassCompact];
    }
    return [UITraitCollection traitCollectionWithVerticalSizeClass:UIUserInterfaceSizeClassUnspecified];
}
@end
